<?php
	// print_r($homemessage);
?>
<div id="sidebar">
      <?php $this->widget('souhunav'); ?>
</div>
<div id="content">
	<?php
		foreach ($homemessage as $key => $value) {
	?>

	<div class="message">
		<img src="<?php echo $value->user->profile_image_url ?>" alt="" class = 'messageheader'>
		<h2 class = "messagename"><?php echo $value->user->screen_name ?></h2>
		<p class = "messagecontent"><?php  echo $value->text ?></p>
	</div>
	<?php
		}
	?>
</div>